package com.lms.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.lms.common.pure.entity.IBaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class SysRole implements IBaseEntity {
    @TableId(type = IdType.AUTO)
    private Long id;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String createBy;
    private String updateBy;
    private String name;
    private String roleCode;
    private String roleDesc;
    private Boolean status;

    @Override
    public Serializable getKey() {
        return id;
    }
}
